<template>
    <div></div>
</template>
<script>
    import utils from './../js/utils';
    export default {
        name: "wxTransfer",
        beforeCreate(){
            let params = this.$route.query;
            utils.setLocalStorage('token' , params.token);
            if(params.backurl) location.href = params.backurl;
            else this.$router.replace({path: '/'});
        }
    }
</script>
